/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DAO;

import Entity.Company;
import javax.persistence.EntityManager;

/**
 *
 * @author usuario
 */
public class CompanyDAO {
    
     public static void persistCompany(Company entity, EntityManager em) {
        em.persist(entity);
     }
     
     public static void removeCompany(Company entity, EntityManager em){
         em.remove(entity);
     }
     
     
    
}
